package net.jwtools.tmt.domain;

import java.util.Iterator;

import net.jwtools.tmt.domain.BaseTerritory;

public class Territory extends BaseTerritory {
	private static final long serialVersionUID = 1L;
	private String name;
	/* [CONSTRUCTOR MARKER BEGIN] */
	public Territory() {
		super();
	}

	/**
	 * Constructor for primary key
	 */
	public Territory(java.lang.Long id) {
		super(id);
	}

	/**
	 * Constructor for required fields
	 */
	public Territory(java.lang.Long id, net.jwtools.tmt.domain.Area area,
			java.lang.Integer number) {

		super(id, area, number);
	}

	/* [CONSTRUCTOR MARKER END] */
	public Territory(java.lang.Integer number) {
		super();
		setNumber(number);
	}
	
	public String getName() {
		return getNumber()+" "+getDescription();
	}
	
	public String toString() {
		return getNumber()+" "+getDescription();
	}
	
}